package com.tgy.crud.domain;

import lombok.*;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@RequiredArgsConstructor()
public class Person implements Serializable{

    private static final long serialVersionUID = 4796170478731223278L;

    private Integer id;
    @NonNull
    private String name;
    @NonNull
    private Integer age;
    @NonNull
    private Integer sex;

    private Date birthDay;

    @NonNull
    private String description;

}
